package se.lnu.axez;

import se.lnu.axez.animation.Animation;
import android.view.MotionEvent;

/**
 * Interface for 3D controls participating in 3D UI scene.
 * 
 * @author stan
 * 
 */
public interface IControl {
	/**
	 * Gets contol's local transformation.
	 * @return
	 */
	Transformation getTransformation();
	
	void init(AxezContext context);
	
	void draw(AxezContext context);
	
	void addAnimation(Animation<IControl> animation);
	
	void onTouchEvent(MotionEvent motionEvent);
}
